home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000278_fdc@sesame.cc.columbia.edu_Tue Sep 16 15:23:51 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2003-11-18
|
2KB
|
50 lines
Article: 14520 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news-not-for-mail
From: fdc@sesame.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: .kermrc not sourced?
Date: 16 Sep 2003 15:23:42 -0400
Organization: Columbia University
Lines: 33
Message-ID: <bk7nvu$4a9$1@sesame.cc.columbia.edu>
References: <ILG9b.698$Qc2.373@newssvr22.news.prodigy.com> <bk7ip6$ktd$1@sesame.cc.columbia.edu> <uwI9b.732$113.102@newssvr22.news.prodigy.com>
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1063740222 24001 128.59.59.56 (16 Sep 2003 19:23:42 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 16 Sep 2003 19:23:42 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14520
In article <uwI9b.732$113.102@newssvr22.news.prodigy.com>,
Jun Zhang <nugulus@netscape.net> wrote:
: Frank,
: I know who you are, but I still believe that my kerbang script is
: sourcing .kermrc, since once I added the "take \v(home).kermrc" in the
: script, the output will be,
:
: Executing /root/.kermrc for UNIX...
: Good Morning!
: Executing /root/.kermrc for UNIX...
: Good Morning!
: ?Not a command or macro name: "UNIXLOGIN"
:
: It sourced twice now, and UNIXLOGIN is still not known.
:
What can I say, my copy does not automatically source ~/.kermrc.
If I put a "take" command in my script, it does source it, once.
Here's the deal about UNIXLOGIN and similar macros: they are intended
for use with a services directory. Therefore if you don't have a
services directory, the rather lengthy section that defines them is
skipped so that Kermit will start up faster for most people.
: My next question will be, supposing I have UNIXLOGIN work, will the
: following script (partial) does automatic login, and give directly the
: remote machine's shell prompt?
:
You have to read about the services directory in the manual. It's kind
of like a phonebook for connections. Each line is one connection:
name of connection, name of macro, parameters for macro (such as user ID,
phone number, network address, etc). There's a whole chapter about this.
- Frank